<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<script src="${path}/scripts/verify/yanzheng.js"></script>
<script src="${path}/scripts/verify/yanzheng2.js"></script>
<script src="${path}/scripts/verify/MyJs.js"></script>
<div class="pageHeader">
	 <form onsubmit="return navTabSearch(this);" action="${path }/AssetMInfo/assetmaintaininfoAction!addAssetMinfo.action"  method="post">
		<jsp:include page="/comon/search.jsp" /> 
	</form>
</div>

 <form name="form1" method="post" action="${path }/AssetMInfo/assetmaintaininfoAction!saveAssetMinfo.action" onsubmit="return iframeCallback(this, navTabAjaxDone);" id="form1">
	<input type="hidden" name="navTabId" value="${navTabId}"/>
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tbody>
            <tr>
                <td class="td_base" style="height: 25px">
                    <input type="submit" name="SaveBtn" value="保存" onclick="javascript:WebForm_DoPostBackWithOptions
					(new WebForm_PostBackOptions(&quot;SaveBtn&quot;, &quot;&quot;, true, &quot;&quot;, &quot;&quot;, false, false))" id="SaveBtn" accesskey="s" class="mybutton" />            
                    
                    
                    <input type="button" name="BackBtn" value="关闭" class="close" />&nbsp;
                </td>
                <td class="td_base">
                </td>
            </tr>
            <tr>
                <td colspan="2" valign="top" align="center">
                    <table cellspacing="0" cellpadding="0" border="0" width="100%" class="form">
                       
                        <tr>
                            <td class="form-item" style="width: 20%">
                                报修日期：
                            </td>
                            <td style="width: 30%">
                                <input name="assetmaintaininfo.createtime" type="text" class="date textInput readonly valid" readonly="true"  id="bxrq"  style="width:86%;" /><font color="red">*</font>
                            	<a class="inputDateButton" href="javascript:;">选择</a>
                            </td>
                            
                            <td class="form-item" style="height: 25; width: 20%">
                                维修方：
                            </td>
                            <td style="width: 30%">
                                <input name="assetmaintaininfo.constructunit" type="text"  id="wxf" class="required" style="width:90%;" /><font
                                    color="red">*</font>
                            </td>
                        </tr>
                        <tr>
                            <td class="form-item" style="height: 25;">
                                预算费用：
                            </td>
                            <td>
                                <input name="assetmaintaininfo.budgetmoney" type="text" id="wxfy" class="required" style="width:90%;" /><font
                                    color="red">*</font>
                                    <input type="text" style="display:none" name="state" value="1010103" />
                            </td>
                            <td class="form-item">
                                
                            </td>
                            <td>
                               
                            </td>
                        </tr>
                        <tr>
                            <td class="form-item">
                                维修原因：
                            </td>
                            <td colspan="3">
                                <textarea name="assetmaintaininfo.reason" rows="2" cols="20" id="wxbz" class="required" style="width:96%;"></textarea><font color="red">*</font>
                            </td>
                        </tr>
                        
                       <%--  <tr>
                            <td colspan="4" style="height: 25">
                                <img src="${path}/images/initdown.gif" alt="" />
                                <span id="Label3" style="color:Blue;font-weight:bold;">维修资产明细</span>
                            </td>
                        </tr> --%>
                        <tr>
                       		 <jsp:include page="/comon/listAsset.jsp" />
                        </tr>
                    </table>
                </td>
            </tr>
        </tbody>
    </table>
    <!--隐藏label-->
     
    <div id="ValidationSummary2" style="color:Red;display:none;">

</div>
    <span id="RequiredFieldValidator3" style="color:Red;visibility:hidden;">&nbsp;
    </span>
    <span id="RequiredFieldValidator5" style="color:Red;visibility:hidden;">&nbsp;
    </span>
    <span id="RequiredFieldValidator1" style="color:Red;visibility:hidden;">&nbsp;
    </span>
    <span id="RequiredFieldValidator2" style="color:Red;visibility:hidden;">&nbsp;
    </span>
    <span id="RegularExpressionValidator17" style="color:Red;display:none;"></span>
    <span id="RequiredFieldValidator4" style="color:Red;visibility:hidden;">&nbsp;
    </span>
    
<script type="text/javascript">
	
	var Page_ValidationSummaries =  new Array(document.getElementById("ValidationSummary2"));
	var Page_Validators =  new Array(document.getElementById("RequiredFieldValidator3"), document.getElementById("RequiredFieldValidator5"), document.getElementById("RequiredFieldValidator1"), document.getElementById("RequiredFieldValidator2"), document.getElementById("RegularExpressionValidator17"), document.getElementById("RequiredFieldValidator4"));
	
</script>

<script type="text/javascript">
	
	var ValidationSummary2 = document.all ? document.all["ValidationSummary2"] : document.getElementById("ValidationSummary2");
	ValidationSummary2.showmessagebox = "True";
	ValidationSummary2.showsummary = "False";
	var RequiredFieldValidator3 = document.all ? document.all["RequiredFieldValidator3"] : document.getElementById("RequiredFieldValidator3");
	RequiredFieldValidator3.controltovalidate = "bxrq";
	RequiredFieldValidator3.errormessage = "请选择报修日期";
	RequiredFieldValidator3.evaluationfunction = "RequiredFieldValidatorEvaluateIsValid";
	RequiredFieldValidator3.initialvalue = "";
	var RequiredFieldValidator5 = document.all ? document.all["RequiredFieldValidator5"] : document.getElementById("RequiredFieldValidator5");
	RequiredFieldValidator5.controltovalidate = "wxf";
	RequiredFieldValidator5.errormessage = "请输入维修方";
	RequiredFieldValidator5.evaluationfunction = "RequiredFieldValidatorEvaluateIsValid";
	RequiredFieldValidator5.initialvalue = "";
	var RequiredFieldValidator1 = document.all ? document.all["RequiredFieldValidator1"] : document.getElementById("RequiredFieldValidator1");
	RequiredFieldValidator1.controltovalidate = "wxfy";
	RequiredFieldValidator1.errormessage = "请输入预算费用";
	RequiredFieldValidator1.evaluationfunction = "RequiredFieldValidatorEvaluateIsValid";
	RequiredFieldValidator1.initialvalue = "";
	var RequiredFieldValidator2 = document.all ? document.all["RequiredFieldValidator2"] : document.getElementById("RequiredFieldValidator2");
	RequiredFieldValidator2.controltovalidate = "wxbz";
	RequiredFieldValidator2.errormessage = "请输入维修原因";
	RequiredFieldValidator2.evaluationfunction = "RequiredFieldValidatorEvaluateIsValid";
	RequiredFieldValidator2.initialvalue = "";
	var RegularExpressionValidator17 = document.all ? document.all["RegularExpressionValidator17"] : document.getElementById("RegularExpressionValidator17");
	RegularExpressionValidator17.controltovalidate = "wxfy";
	RegularExpressionValidator17.errormessage = "预算费用必须为数值型";
	RegularExpressionValidator17.display = "None";
	RegularExpressionValidator17.evaluationfunction = "RegularExpressionValidatorEvaluateIsValid";
	RegularExpressionValidator17.validationexpression = "\\d+\\.\\d+|\\d{0,9}";
	var RequiredFieldValidator4 = document.all ? document.all["RequiredFieldValidator4"] : document.getElementById("RequiredFieldValidator4");
	RequiredFieldValidator4.controltovalidate = "jsr";
	RequiredFieldValidator4.errormessage = "请选择下一步审批人";
	RequiredFieldValidator4.evaluationfunction = "RequiredFieldValidatorEvaluateIsValid";
	RequiredFieldValidator4.initialvalue = "";
	
</script>


<script type="text/javascript">


	var Page_ValidationActive = false;
	if (typeof(ValidatorOnLoad) == "function") {
		ValidatorOnLoad();
	}

	function ValidatorOnSubmit() {
		if (Page_ValidationActive) {
			return ValidatorCommonOnSubmit();
		}
		else {
			return true;
		}
	}
			
</script>


</form>